package com.xhsj.user.sms.purchase.query;


import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskOtherFile;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:
 * @Data:2020/4/13
 */
@Data
public class PayContractQuerySms extends PurchaseOrderQuerySms {

    @NotNull(message = "paymentWay付款方式 1 一次结清 2 多次结清不能为空")
    private Integer paymentWay;
    /**
     * 批次 0 全款 1 预付款 2 二期款 3 尾款
     */
    @NotNull(message = "advanceProportion首付比例不能为空")
    private Integer advanceProportion;

    @NotNull(message = "secondProportion初拟二期款比例不能为空")
    private Integer secondProportion;

    @NotNull(message = "finalProportion初拟尾款比例不能为空")
    private Integer finalProportion;

    //支付金额
    private  BigDecimal paymentMoney;

    //总金额
    @NotNull(message = "totalMoney总金额不能为空")
    private  BigDecimal totalMoney;

    //批次 0 全款 1 预付款 2 二期款 3 尾款
    private  Integer batch;
    //合同
    private List<TbPurchaseSubtaskOtherFile> tbPurchaseOrderFileList;

    //文件类型
    private Integer type;


}
